<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <style>
    .arrow{
      width: 20px;
      height: 20px;
      border-right: 2px solid #333;
      border-bottom: 2px solid #333;
      transform: rotate(-45deg)
    }
    .shanxing{
      width: 300px;
      height: 300px;
      border-radius: 50%;
      overflow: hidden;
    }
    .shanxing-son{
      width: 100%;
      height: 100%;
      transform: translateX(150px) translateY(150px);
      background-color: blueviolet;
    }
    .flex-box{
      width: 100%;
      height: 100px;
      background-color: darkcyan;
      display: flex;
      align-items: center;
    }
    .flex-son{
      /* width: 50px; */
      /* flex-grow: 1; */
      margin: 0 5px;
      height: 30px;
      background-color: burlywood;
    }
  </style>
</head>
<body>
  <div>
    <div class="arrow"></div>
    <div class="shanxing">
      <div class="shanxing-son"></div>
    </div>
    <div class="flex-box">
      <div class="flex-son" style="flex-grow: 2;"></div>
      <div class="flex-son" style="flex-grow: 4;flex-shrink: 0;"></div>
      <div class="flex-son" style="flex-grow: 5;align-self: flex-end;"></div>
      <div class="flex-son" style="flex-grow: 1;order:-1;flex-basis: 20px;"></div>
    </div>
  </div>
  <script>
    const func = (val1)=>val2=>val3=>{
      return `111:${val1};222:${val2};333:${val3}`
    }
    const val =func('aa11')('bb22')('ccc33')
    console.log(val)

    function loadImage(url){
      var image = new Image()
      image.style.width='300px'
      image.style.height='300px'
      return new Promise((resolve,reject)=>{
        image.src=url
        image.onload = function(){
          document.body.appendChild(image)
          resolve(url)
        }
        image.onerror=function (){
          // image.src='https://i0.hdslb.com/bfs/album/6160f9ad45afa002cc05fa063145ebb5b28cb93c.jpg'
          loadImage('https://i0.hdslb.com/bfs/album/6160f9ad45afa002cc05fa063145ebb5b28cb93c.jpg')
          // loadImage('http://zk.hebeea.edu.cn/HebzkWeb/res/img/book.jpg')
          reject('eeeeeeeeeee')
        }
      }) 
    }
    loadImage('http://zk.hebeea.edu.cn/HebzkWeb/res/img/book.jpg').then(res=>{
      // alert(res)
    }).catch(e=>{
      // alert(e)
    })
  </script>
</body>
</html>